﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Stocks
{
    /// <summary>
    /// 实体类Order 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Order
    {
        public Order()
        { }
        #region Model
        private int _id;
        private string _ordernum;
        private int? _storeid;
        private DateTime? _ordertime;
        private int? _adminid;
        private bool _ismember;
        private int? _memberid;
        private int? _state;
        /// <summary>
        /// 主键
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 订单编码
        /// </summary>
        public string Ordernum
        {
            set { _ordernum = value; }
            get { return _ordernum; }
        }
        /// <summary>
        /// 门店ID
        /// </summary>
        public int? Storeid
        {
            set { _storeid = value; }
            get { return _storeid; }
        }
        /// <summary>
        /// 订单生成时间
        /// </summary>
        public DateTime? Ordertime
        {
            set { _ordertime = value; }
            get { return _ordertime; }
        }
        /// <summary>
        /// 订单处理人
        /// </summary>
        public int? Adminid
        {
            set { _adminid = value; }
            get { return _adminid; }
        }
        /// <summary>
        /// 是否会员
        /// </summary>
        public bool isMember
        {
            set { _ismember = value; }
            get { return _ismember; }
        }
        /// <summary>
        /// 会员id 
        /// </summary>
        public int? Memberid
        {
            set { _memberid = value; }
            get { return _memberid; }
        }
        /// <summary>
        /// 订单状态
        /// </summary>
        public int? State
        {
            set { _state = value; }
            get { return _state; }
        }
        #endregion Model

    }
}
